// ******************************************************************
// * Copyright(c)  Steven Lu
// * Description   : Schema_REP_REGISTER_ATTACHED
// * CreateDate    : 2014-06-05 18:30:33
// * Creater       : CodeSmith
// * LastChangeDate: 2014-06-05 18:30:33
// * LastChanger   : 2014-06-05 18:30:33
// * Version Info  : 1.0 For ESOL
// ******************************************************************

using System;
using System.Collections.Generic;
using System.Text;
using Suzsoft.Smart.EntityCore;

namespace ESOL.Common.Schema
{
  	[Serializable]
    public partial class RepRegisterAttachedTable : TableInfo
    {
		public const string C_TableName = "REP_REGISTER_ATTACHED";
		
		public const string C_ATTACHED_ID = "ATTACHED_ID";
		public const string C_REGISTER_ID = "REGISTER_ID";
		public const string C_REGISTER_ITEM_ID = "REGISTER_ITEM_ID";
		public const string C_FILE_NAME = "FILE_NAME";
		public const string C_DESCRIPTION = "DESCRIPTION";
		public const string C_UPLOAD_BY = "UPLOAD_BY";
		public const string C_UPLOAD_DATE = "UPLOAD_DATE";
		
		public RepRegisterAttachedTable()
        {
            _tableName = "REP_REGISTER_ATTACHED";
        }
		
		protected static RepRegisterAttachedTable _current;
        public static RepRegisterAttachedTable Current
        {
            get
            {
                if (_current == null)
                {
                    Initial();
                }
                return _current;
            }
        }
		
		private static void Initial()
        {
            _current = new RepRegisterAttachedTable();

            _current.Add(C_ATTACHED_ID, new ColumnInfo(C_ATTACHED_ID,"AttachedId", true, typeof(string)));
            _current.Add(C_REGISTER_ID, new ColumnInfo(C_REGISTER_ID,"RegisterId", false, typeof(string)));
            _current.Add(C_REGISTER_ITEM_ID, new ColumnInfo(C_REGISTER_ITEM_ID,"RegisterItemId", false, typeof(string)));
            _current.Add(C_FILE_NAME, new ColumnInfo(C_FILE_NAME,"FileName", false, typeof(string)));
            _current.Add(C_DESCRIPTION, new ColumnInfo(C_DESCRIPTION,"Description", false, typeof(string)));
            _current.Add(C_UPLOAD_BY, new ColumnInfo(C_UPLOAD_BY,"UploadBy", false, typeof(string)));
            _current.Add(C_UPLOAD_DATE, new ColumnInfo(C_UPLOAD_DATE,"UploadDate", false, typeof(DateTime)));
			
		}
		
		public ColumnInfo ATTACHED_ID
        {
            get { return this[C_ATTACHED_ID]; }
        }
		
		public ColumnInfo REGISTER_ID
        {
            get { return this[C_REGISTER_ID]; }
        }
		
		public ColumnInfo REGISTER_ITEM_ID
        {
            get { return this[C_REGISTER_ITEM_ID]; }
        }
		
		public ColumnInfo FILE_NAME
        {
            get { return this[C_FILE_NAME]; }
        }
		
		public ColumnInfo DESCRIPTION
        {
            get { return this[C_DESCRIPTION]; }
        }
		
		public ColumnInfo UPLOAD_BY
        {
            get { return this[C_UPLOAD_BY]; }
        }
		
		public ColumnInfo UPLOAD_DATE
        {
            get { return this[C_UPLOAD_DATE]; }
        }
		
		
		
	}
}

